/**
 * Project Name:cnsy-url-short-service
 * File Name:SysMenuResult.java
 * Package Name:cn.cnsy123.shorturls.business.result 
 * Date: 2020年4月14日-下午4:45:09
 * Copyright (c) 2020, yangpengfei@360@126.com All Rights Reserved. 
 *
 */

package cn.cnsy123.shorturls.api.controller.result;

import java.io.Serializable;

/**
 * ClassName: SysMenuResult
 * 
 * @author yangpengfei
 * @date 2020年4月14日-下午4:45:09
 * @version 1.0
 * @since JDK 1.7
 */
public class SysMenuResult implements Serializable {
    
    /**
     * serialVersionUID:TODO(用一句话描述这个变量表示什么). 
     * @since JDK 1.7
     */
    private static final long serialVersionUID = 2494476046417026311L;

    private Long id;
    
    private String menuName;
    
    private String menuUrl;
    
    private String menuIcon;
    
    private Integer isPage;
    
    private Long pid;
    
    private Integer orderNumber;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public String getMenuIcon() {
        return menuIcon;
    }

    public void setMenuIcon(String menuIcon) {
        this.menuIcon = menuIcon;
    }

    public Integer getIsPage() {
        return isPage;
    }

    public void setIsPage(Integer isPage) {
        this.isPage = isPage;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Integer getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(Integer orderNumber) {
        this.orderNumber = orderNumber;
    }

    public SysMenuResult() {
        super();
    }

    public SysMenuResult(Long id, String menuName, String menuUrl, String menuIcon, Integer isPage, Long pid,
            Integer orderNumber) {
        super();
        this.id = id;
        this.menuName = menuName;
        this.menuUrl = menuUrl;
        this.menuIcon = menuIcon;
        this.isPage = isPage;
        this.pid = pid;
        this.orderNumber = orderNumber;
    }

    @Override
    public String toString() {
        return String.format(
                "SysMenuResult [id=%s, menuName=%s, menuUrl=%s, menuIcon=%s, isPage=%s, pid=%s, orderNumber=%s]", id,
                menuName, menuUrl, menuIcon, isPage, pid, orderNumber);
    }
    
    

}
